package test0103.test01;

public class Employee {

//    Employee zhangSan = new Employee(1, "张三", "男", "2000-11-11", "本科", juniorDevPosition);
    private int emp_id;
    private String emp_name;
    private String emp_gender;
    private String emp_brith;
    private String emp_edu;
    private Position position;

    public Employee() {
    }

    public Employee(int emp_id, String emp_name, String emp_gender, String emp_brith, String emp_edu, Position position) {
        this.emp_id = emp_id;
        this.emp_name = emp_name;
        this.emp_gender = emp_gender;
        this.emp_brith = emp_brith;
        this.emp_edu = emp_edu;
        this.position = position;
    }

    public int getEmp_id() {
        return emp_id;
    }

    public void setEmp_id(int emp_id) {
        this.emp_id = emp_id;
    }

    public String getEmp_name() {
        return emp_name;
    }

    public void setEmp_name(String emp_name) {
        this.emp_name = emp_name;
    }

    public String getEmp_gender() {
        return emp_gender;
    }

    public void setEmp_gender(String emp_gender) {
        this.emp_gender = emp_gender;
    }

    public String getEmp_brith() {
        return emp_brith;
    }

    public void setEmp_brith(String emp_brith) {
        this.emp_brith = emp_brith;
    }

    public String getEmp_edu() {
        return emp_edu;
    }

    public void setEmp_edu(String emp_edu) {
        this.emp_edu = emp_edu;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "emp_id=" + emp_id +
                ", emp_name='" + emp_name + '\'' +
                ", emp_gender='" + emp_gender + '\'' +
                ", emp_brith='" + emp_brith + '\'' +
                ", emp_edu='" + emp_edu + '\'' +
                ", position=" + position +
                '}';
    }
}
